package io.renren.modules.sys.dao;

import io.renren.modules.sys.entity.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-03-20 09:47:30
 */
@Mapper
public interface GoodshelvesDao extends BaseMapper<GoodshelvesEntity> {
    List<ShelvesAnalysisEntity> getShelvesAnalysis(@Param("startime")String startime, @Param("endtime")String endtime);

    ShelvesAnalysisStatisticsEntity getStatistics(@Param("startime")String startime, @Param("endtime")String endtime);

    List<SysUserEntity> getFranchisee();

    List<GoodshelvesEntity> querylistByParams(@Param("shelvesname")String shelvesname, @Param("groupid")String groupid,@Param("currPage")int currPage, @Param("pageSize")int pageSize);

    int queryListcount(@Param("shelvesname")String shelvesname, @Param("groupid")String groupid);
}
